class SportRecorderBean {
  int id;
  int color;
  String icon;
  String title;
  SportBean bean;

  SportRecorderBean(this.id, this.color, this.icon, this.title, this.bean);
}

class SportBean {
  int type;
  int timeStamp;
  int duration;
  int step;
  int cal;
  int distance;
  int heart;
  String pace;
  int cadence;

  SportBean(this.type, this.timeStamp, this.duration, this.step, this.cal, this.distance,
      this.heart, this.pace, this.cadence);

  @override
  String toString() {
    return 'SportBean{type: $type, timeStamp: $timeStamp, duration: $duration, step: $step, cal: $cal, distance: $distance, heart: $heart, pace: $pace, cadence: $cadence}';
  }
}
